package com.broada.apm.entity;

/**
 * 应用对象管理类 抽象基于BaseResource的共有属性
 * 
 * @author Administrator Create By 2015年5月15日 下午4:48:37
 */
public class AO {
	private String id;
	private String name;

	public AO() {
	}

	public AO(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public boolean equals(Object obj) {
		AO ao = (AO) obj;
		return this.getId().equals(ao.getId());
	}
	@Override
	public int hashCode() {
		return this.getId().hashCode();
	}
}
